import request from '@/utils/request'
import menus from '@/router/modules/menu'

export function productList(query) {
    return request({
        url: '/product/list',
        method: 'get',
        params: query
    })
}

export function productCreate(data) {
    return request({
        url: '/product/create',
        method: 'post',
        data
    })
}

export function productUpdate(data) {
    return request({
        url: '/product/update',
        method: 'post',
        data
    })
}

export function productDelete(data) {
    return request({
        url: '/product/delete',
        method: 'post',
        data
    })
}




